/**
 * Created by PhpStorm.
 * User:  iyahe@qq.com (天明)
 * Date: 2020/1/4
 * Time: 18:58
 * Description: 该配置文件用于让WebStorm支持@语法
 */

const path = require('path')
function resolve (dir) {
  return path.join(__dirname, '.', dir)
}
module.exports = {
  context: path.resolve(__dirname, './'),
  resolve: {
    extensions: ['.js', '.vue', '.json'],
    alias: {
      '@': resolve('src')
    }
  }
}
